You are here: Grammar and Syntax > Flow Control Statements > CALL Statements

CALL Statements

A CALL statement temporarily suspends one calculation and calls another calculation file. A CALL statement must begin with the keyword CALL. The calculation file that is called must contain a RETURN statement if the original calculation expects a returned value. Here is an example:

CALL( 'TestCalc' )

Result

Temporarily calls the calculation file TestCalc. After the calculations in TestCalc are completed, processing returns to the current script. In this example, TestCalc is not expected to return a value.